<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="../libs/jquery-1.12.4.js"></script>
    <script src="../libs/echarts.js"></script>
    <style>
        #box {
            width: 450px;
            height: 450px;
            padding: 10px 8px 0;
        }
    </style>
</head>

<body>
    <div id="box"></div>
    <script>
        $(function () {
            let myCharts = echarts.init($('#box')[0])
            let option = {
                backgroundColor: '#161627',
                tooltip: {},
                radar: {
                    indicator: [{
                            name: '1',
                            max: 100
                        },
                        {
                            name: '2',
                            max: 100
                        },
                        {
                            name: '3',
                            max: 100
                        },
                        {
                            name: '4',
                            max: 100
                        },
                        {
                            name: '5',
                            max: 100
                        },
                        {
                            name: '6',
                            max: 100
                        }
                    ],
                    shape: 'circle',
                    splitNumber: 5,
                    axisName: {
                        color: 'rgb(238, 197, 102)'
                    },
                    splitLine: {
                        lineStyle: {
                            color: [
                                'rgba(238, 197, 102, 0.5)'
                            ]
                        }
                    },
                    splitArea: {
                        show: false
                    },
                    axisLine: {
                        lineStyle: {
                            color: 'rgba(238, 197, 102, 0.5)'
                        }
                    }
                },
                series: [{
                    name: '战力数据',
                    type: 'radar',
                    lineStyle: {
                        width: 1,
                        opcity: 0.3
                    },
                    data: [
                        [100, 100, 100, 100, 100, 100]
                    ],
                    symbol: 'none',
                    itemStyle: {
                        color: '#f90'
                    },
                    areaStyle: {
                        opacity: 0.3
                    },
                }]
            };
            myCharts.setOption(option)
        })
    </script>
</body>

</html>